/*
 * BSW_Include.h
 *
 *  Created on: 2014-12-27
 *      Author: Hongjie Ma
 */

#ifndef BSW_INCLUDE_H_
#define BSW_INCLUDE_H_

#define	ubyte uint8_t
#define uword uint16_t
#define ulong uint32_t


#include "DAVE3.h"
#include <stdio.h>
#include "Main.h"
#include "PortPin.h"
#include "S25FLO32P.h"
#include "Sim5320.h"
#include "ECU_CAN.h"
#include "GPS.h"
#include "Sim_Network_Manage.h"
#include "CalibrationArea.h"
#include "Defaultvalue.h"
#include "USBD_LLD.h"
#include "USBD.h"
#include "USBD_VCOM.h"
#include "Protocol.h"
#include "SEGGER_RTT.h"
#include "OBD_Timer.h"
#include "Queue.h"
#include "StrQueue.h"
#include "CAN_ISR.h"
#include "CheckCMD.h"
#include "ini_manage.h"
#include "SystemCfg.h"
#include "Firmware.h"
#include "PC_Communication.h"
#include "CANLoopback.h"
#include "CANMHJ.h"
#include "DataStorage.h"



typedef union strL2B
{
	ulong L;
	ubyte B[4];
}strL2B;
typedef union strW2B
{
	uword W;
	ubyte B[2];
}strW2B;
//typedef union strF2B
//{
//	float F;
//	ubyte B[4];
//}strF2B;
typedef union strD2B
{
	double D;
	ubyte B[8];
}strD2B;

#endif /* BSW_INCLUDE_H_ */
